<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>深圳市德群快捷电子有限公司 - 送货单</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "SimSun", "宋体", serif;
    }
    body {
      background-color: #f9f9f9;
      display: flex;
      justify-content: center;
      padding: 20px;
    }
    .delivery-note {
      width: 800px;
      background: white;
      padding: 30px;
      border: 1px solid #ddd;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .company-header {
      text-align: center;
      margin-bottom: 15px;
      padding-bottom: 8px;
      border-bottom: 2px solid #000;
    }
    .company-name {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 3px;
    }
    .company-info {
      font-size: 12px;
      margin-bottom: 2px;
      color: #555;
    }
    .title {
      font-size: 32px;
      font-weight: bold;
      text-align: center;
      margin: 20px 0;
      letter-spacing: 8px;
    }
    .receiver-info {
      margin-bottom: 25px;
    }
    .info-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      font-size: 16px;
    }
    .info-left {
      display: flex;
    }
    .info-label {
      margin-right: 8px;
      white-space: nowrap;
    }
    .info-value {
      border-bottom: 1px solid #000;
      min-width: 200px;
      display: inline-block;
      padding: 0 5px;
    }
    .info-right {
      display: flex;
    }
    .delivery-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
      font-size: 14px;
    }
    .delivery-table th {
      border: 1px solid #000;
      padding: 10px 5px;
      text-align: center;
      font-weight: bold;
      background-color: #f0f0f0;
    }
    .delivery-table td {
      border: 1px solid #000;
      padding: 10px 5px;
      text-align: center;
    }
    /* 表格内条款居左样式 */
    .terms-row td {
      text-align: left;
      padding: 15px 20px;
    }
    .terms-row p {
      margin-bottom: 8px;
      line-height: 1.6;
      padding-left: 20px;
      position: relative;
    }
    .copies {
      display: flex;
      justify-content: space-around;
      margin: 25px 0;
      font-size: 14px;
      text-align: center;
    }
    .copy-item {
      padding: 5px 10px;
    }
    .signatures {
      display: flex;
      justify-content: space-between;
      margin-top: 30px;
      font-size: 15px;
    }
    .signature-box {
      width: 48%;
    }
    .signature-line {
      display: flex;
      margin-bottom: 10px;
    }
    .signature-label {
      width: 140px;
      white-space: nowrap;
    }
    .signature-value {
      flex: 1;
      border-bottom: 1px solid #000;
      padding: 0 5px;
    }
    .stamp-area {
      height: 80px;
      border: 1px solid #ddd;
      margin-top: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #777;
      font-size: 14px;
      position: relative;
    }
    /* 签名右移样式 */
    .signature-value.signature-name {
      padding-left: 35px; /* 向右移动签名 */
      position: relative;
    }
    .signature-value.signature-name:before {
      content: "：";
      position: absolute;
      left: 10px;
    }
    .empty-row td {
      height: 35px;
    }
    .footer {
      text-align: center;
      margin-top: 20px;
      padding-top: 10px;
      border-top: 1px dashed #ccc;
      font-size: 12px;
      color: #777;
    }
    @media print {
      body {
        padding: 0;
        background-color: white;
      }
      .delivery-note {
        box-shadow: none;
        border: none;
      }
    }
  </style>
</head>
<body>
<div class="delivery-note">
  <div class="company-header">
    <div class="company-name">深圳市德群快捷电子有限公司</div>
    <div class="company-info">地址：深圳市宝安区沙井街道和一社区蚝四西部工业区3栋1层</div>
    <div class="company-info">电话：18716657820</div>
  </div>

  <div class="title">送 货 单</div>

  <div class="receiver-info">
    <div class="info-row">
      <div class="info-left">
        <span class="info-label">收货单位：</span>
        <span class="info-value">${客户名称}</span>
      </div>
      <div class="info-right">
        <span class="info-label">NO：</span>
        <span class="info-value">${送货单号}</span>
      </div>
    </div>
    <div class="info-row">
      <div class="info-left">
        <span class="info-label">联系人：</span>
        <span class="info-value">${客户名称}</span>
      </div>
      <div class="info-right">
        <span class="info-label">日期：</span>
        <span class="info-value">${送货日期}</span>
      </div>
    </div>
  </div>

  <table class="delivery-table">
    <thead>
    <tr>
      <th width="5%">序号</th>
      <th width="15%">订单号</th>
      <th width="15%">物料编码</th>
      <th width="20%">产品名称</th>
      <th width="8%">单位</th>
      <th width="10%">订单数量</th>
      <th width="10%">出货数量</th>
      <th width="8%">欠数</th>
      <th width="8%">备品</th>
      <th width="10%">备注</th>
    </tr>
    </thead>
    <tbody>
    ${出库物料详情行}
    <!-- 条款行 - 表格内居左显示 -->
    <tr class="terms-row">
      <td colspan="10">
        <p>(1) 本送货单经贵司代表签字之后即为我司之收款依据。</p>
        <p>(2) 如贵司对本送货单所收货物数量及质量有异议须在7天内提出，否则视为被贵司接受。</p>
      </td>
    </tr>
    </tbody>
  </table>

  <div class="copies">
    <div class="copy-item">白 (存根)</div>
    <div class="copy-item">红 (客户)</div>
    <div class="copy-item">蓝 (回单)</div>
    <div class="copy-item">黄 (财务)</div>
  </div>

  <div class="signatures">
    <div class="signature-box">
      <div class="signature-line">
        <span class="signature-label">送货单位及经手人(盖章):</span>
        <span class="signature-value signature-name"></span>
      </div>
    </div>

    <div class="signature-box">
      <div class="signature-line">
        <span class="signature-label">收货单位及经手人(盖章):</span>
        <span class="signature-value"></span>
      </div>
    </div>
  </div>



</div>
</body>
</html>